Carbon


FillOval

Header: Quickdraw.h Carbon status: Supported

Fills an oval with any available bit pattern.

void FillOval (
    const Rect *r, 
    const Pattern *pat
);
Parameter descriptions
r

The rectangle that defines the oval’s boundaries.

pat

The bit pattern to use for the fill.

DISCUSSION

Using the patCopy pattern mode and the bit pattern defined in the Pattern structure that you specify in the pat parameter, the FillOval function draws the interior of an oval just inside the bounding rectangle that you specify in the r parameter. The pen location does not change.

Use GetPattern and GetIndPattern, to get a pattern stored in a resource. Use the PaintOval function to draw the interior of an oval with the pen pattern for the current graphics port.

To fill an oval with a pixel pattern, use the FillCOval function.

SPECIAL CONSIDERATIONS

The FillOval function may move or purge memory blocks in the application heap; do not call this function at interrupt time.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)